package com.belizer.demo;

import com.alibaba.fastjson.JSONObject;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.Map;

public class FastJsonDemo {
    public static void main(String[] args) throws IOException {
        Map map = JSONObject.parseObject(new FileInputStream(new File("C:\\Users\\Lenovo\\Desktop\\淘宝(1).txt"))
                , Charset.forName("UTF-8"), Map.class,null);


        System.out.println(map);
    }
}
